package week9;

public class CarShopTest {
    public static void main(String[]args){
        Carshop shop=new Carshop();
        shop.sellCar(new BMWCar());
        shop.sellCar(new ToyotaCar());
        System.out.println("总销售额:"+shop.getMoney()+"元");
    }
}
